package com.nlx.notes.module.bean.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author nlx
 * @since 2025-10-25
 */
@Getter
@Setter
@ToString
public class LoanDetailBO implements Serializable {


    private Long id;

    /**
     * 借款人id
     */
    private Long borrowerId;

    /**
     * 借款概览id
     */
    private Long summaryId;

    private Long accountId;

    private String accountName;

    /**
     * 类型，loan、repay
     */
    private String type;

    /**
     * 金额
     */
    private Integer amount;

    /**
     * 发生日期
     */
    private LocalDate loanDate;

    /**
     * 所属用用户
     */
    private Long userId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;

    private Integer delFlag;
}
